arm/mem_access: Introduce BIT_ULL bit operation
authorSergej Proskurin <proskurin@sec.in.tum.de>
Wed, 16 Aug 2017 13:17:37 +0000 (15:17 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 18 Aug 2017 17:27:30 +0000 (10:27 -0700)
commit2af2c66f39c88cf42e8ef27e6badf8baf35aee4c
treeaa4caa6713b46458038a2654378da5f3d9f6c099
parentf013bc61ec23f7697f33bbb5a5ed674745ecc223
arm/mem_access: Introduce BIT_ULL bit operation

We introduce the BIT_ULL macro to using values of unsigned long long as
to enable setting bits of 64-bit registers on AArch32.  In addition,
this commit adds a define holding the register width of 64 bit
double-word registers. This define simplifies using the associated
constants in the following commits.

Signed-off-by: Sergej Proskurin <proskurin@sec.in.tum.de>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/bitops.h